Linux Command User MaintenanceBasicAdd a XXX User:useradd xxxAdd a XXX user, specify home directory for/home/xxx:useradd -m -d /home/xxx xxxAdd a XXX user, specify the home directory as/home/xxx, and specify with bash:useradd -m -d /home/xxx -s /bin/bash xxxAdd a XXX user, specify home directory for/home/xxx, and specify with bash, join YYY and ZZZ Group (the def
View the installation content of software xxxDpkg-l xxx
Search softwareApt-cache search Regular ExpressionFind the package of the fileDpkg-s filename apt-file search filenameQueries which packages the software XXX depends onApt-Cache depends xxxQueries which packages depend on the software xxxApt-Cache rdepends xxxAdd a CD SourceSudo apt-CDROM add
System UpgradeSudo apt-Get update sudo apt-Get upgrade sudo apt-Get dist-UpgradeClear the residual config
the bundlesudo apt-get clean sudo apt-get autoclean cleanup of useless packagessudo apt-get check to see if there is a corrupted dependencysudo apt-get clean cleans up all software caches (that is, the Deb packets that are cached in the/var/cache/apt/archives directory)view software XXX installation content#dpkg-L XXXFind software#apt-cache Search Regular ExpressionsFind out which package the file belongs to#dpkg-s filename apt-file search filenameQuery software xxx depends on which packages#a
: Executable fileFolder: Whether you can enterchmod 777 XXXAdd user-----------1.useradd (user/sbin/)is the bottom-level add user command, it is recommended to use AddUser2.adduser (user/sbin/)adding users via AddUserAddUser--HOME/HOME/UBUNTU2--gid UBUNTU2Deluser--remove-home UBUNTU2Apt-get (Usr/bin) (Advanced Packages Tookit Premium package management tools)Ubuntu Modify software Sourcesudo nano/ect/apt/soutces.listsudo apt-get update# updatesudo apt-
Common commands
Ipconfig-view native IP, interface and other informationPing ip-ping remote server or terminalCD ~-Return to the root directoryCd.. Return to Parent DirectoryCd.. /.. Return to the top level two directoryCD temp/into the temp directory under the current directoryDescription: The directory structure of Linux, "." Represents the current directory, "..." Represents the parent directory of the current directory, "/" for the root directoryNETSTAT-NTLP |grep 9000 View
Installation View Software xxx installation content dpkg-Lxxx search software apt-cachesearch Regular Expression find which package the file belongs dpkg-Sfilenameapt-filesearchfilename query software xxx depends on which packages apt-cachedependsxxx query software xxx is what the package depends on apt-cacherdependsxxx and adds a CD source sudoapt-cdromadd system to upgrade su
InstallView the installation content of software xxxDpkg-L xxxSearch softwareApt-cache search Regular ExpressionFind th
line in/etc/APT/sources. List.Check -- used to (automatically) fix (installed) dependencies between software packagesClean -- clear/var/Cache/APT/archives/cache of all software packages including its sub-directory partial/Autoclean -- is more commonly used than clean. My understanding is to delete the cache of a lower version and keep the higher version (
Network Connection: Automatic Ethernet connection (after VMware is installed, a new Wired connection is created and deleted)
Shutdown: shutdo
The first is the problem of the Ruijie wall, landing GitHub sometimes can sometimes not even, the network is very slow, so with full patience to fork out the code base. Link Https://github.com/niconiconiconi/helloworld1. After that, download and install git and choose a location as your local repository directly after the installation is complete. Right-click to open git bash and initialize the local repository.2. Search all kinds of GIT commands on the web诸如git add
Every time you visit the ubuntu Chinese forum, you will see a random command line under the title of the post, which is well written. So I output all of them. I wanted to make a picture. It's a pity that it's too big. We have to use the output method for 220 entries.
View the installation content of the software xxx:dpkg -L xxxFind the software in the software library:Apt-cache search Regular ExpressionFind the software in the software library:Aptitude search packageFind the package of the fil
filename apt-file search filenameQuery software xxx depends on which packages#apt-cache depends xxxQuery software xxx by which packages depend#apt-cache rdepends xxxAdd a disc source#sudo apt-cdrom AddSystem upgrade#sudo apt-get Update#sudo Apt-get Upgrade#sudo Apt-get Dist-upgradeClear so delete the remaining configuration files of the package#dpkg-L |grep ^rc|awk ' {print $} ' |tr ["\ n"] [""]|sudo xargs dpkg-p-Automatic processing of H files is mi
-get upgrade update installed packagessudo apt-get Dist-upgrade upgrade systemsudo apt-get dselect-upgrade using Dselect upgradeApt-cache depends package learn about using dependenciesApt-cache Rdepends package is to see which packages are dependent onsudo apt-get BUILD-DEP Package Installation-related compilation environmentApt-get Source Package Downloads The source code for the bundlesudo apt-get clean sudo apt-get autoclean cleanup of useless packagessudo apt-get check to see if there is a
Transferred from: http://www.cnblogs.com/lcw/p/3159462.htmlView software XXX installation content: dpkg-l XXXFind software in the Software Library: Apt-cache search Regular expressionFind software in the Software Library: Aptitude Search PackageFind out which package the file belongs to: dpkg-s filenameFind out which package the file belongs to: Apt-file search filenameQuery software xxx depends on which packages: Apt-cache depends xxxQuery software xxx by which package depends on: Apt-cache rde
to this class a.prototype.constructor.__proto__ = = = A.__proto__ = = = Function.prototype; True object.prototype.constructor.__proto__ = = = Object.__proto__ = = = Function.prototype; TruePS: All constructors, __proto__ of functions point to Function.prototype, which is an empty function(4) ExampleExample 1:function A () {}function B () {}a.prototype = {aaa: ' aaa '};b.prototype = A.prototype;var Aa1 = new A (); var bb1 = new B ();//aa1. prototype.aaa= ' xxx '; Error, object no prototype A.P
)Senior:Control chip: Intel pro/1000 MT DesktopPromiscuous mode: DenyMAC Address: DefaultTick Access NetworkSure you can3. Restart the Oracle VM VirtualBox and start Ubuntu Server.Configure the static IP address of Ubuntu server (so that it is equal to the host on the network),(1). Configure static IP:sudo vim/etc/network/interfacesComment out the default iface eth0 inet xxxAdd the following configuration:Iface eth0 inet StaticAddress 192.168.2.15 (In
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.